home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / CD-ROM Tools / CDPlay / Include / panel.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-27  |  1.1 KB  |  46 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. // panel.hpp
  3. //
  4. // Jeffry  Worth
  5. // November 10, 1995
  6. //////////////////////////////////////////////////////////////////////////////
  7.  
  8. #ifndef __PANEL_HPP__
  9. #define __PANEL_HPP__
  10.  
  11. //////////////////////////////////////////////////////////////////////////////
  12. // INCLUDES
  13. #include <string.h>
  14. #include "aframe:include/gadget.hpp"
  15.  
  16. //////////////////////////////////////////////////////////////////////////////
  17. // Definitions
  18. #define PANEL_BEVELDOWN    0
  19. #define PANEL_BEVELUP    1
  20. #define PANEL_NOBORDER    2
  21.  
  22. //////////////////////////////////////////////////////////////////////////////
  23. // Panel Class
  24.  
  25. class AFPanel : public AFGadget
  26. {
  27. public:
  28.   AFPanel();
  29.   ~AFPanel();
  30.  
  31.   virtual void DestroyObject();
  32.   virtual char *ObjectType() { return "Panel"; };
  33.  
  34.   virtual void Create(char *text, AFWindow* pwindow, AFRect *rect, ULONG id,
  35.         int bevel);
  36.  
  37.   struct IntuiText m_IntuiText;
  38.   struct Border m_gborder,m_gborder2;
  39.   char *m_text;
  40.   WORD m_xyshine[6];
  41.   WORD m_xyshadow[6];
  42. };
  43.  
  44. //////////////////////////////////////////////////////////////////////////////
  45. #endif // __PANEL_HPP__
  46.